[VERSN2]
watermark "Mod made by YochiThMaster333"

// This is required for custom addon generic parts (wheels or spoilers; all NFS games) and/or custom addon vector vinyls (Carbon, ProStreet, Undercover). Without it, custom wheels and vector vinyls might cause many issues to your game (most notably the game crash)
speedreflect auto

// Checks if FrontB.lzc file has been modified with TexEd
if collection_exists FRONTEND\FRONTB.LZC TPKBlocks DEFAULT
do
update_collection FRONTEND\FRONTB.LZC TPKBlocks DEFAULT CollectionName FRONTENDTEXTURES
else
end

add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_NISSAN CARSELECT_MANUFACTURER_NISSAN "SnailParts\CARSELECT_MANUFACTURER_NISSAN.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_SCARGO SECONDARY_LOGO_SCARGO "SnailParts\SECONDARY_LOGO_SCARGO.dds"
bind_textures synchronize FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES "SnailParts\TuningIcons"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CARNAME_NISSAN_SCARGO "1989 Nissan S-Cargo"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SPOILER_SCARGO_1 "Lex 42"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HDLGT_SCARGO_1 "Carbon"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRLGT_SCARGO_1 "Masked"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRLGT_SCARGO_2 "Reaper"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_GRILLE_SCARGO_1 "Split"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_GRILLE_SCARGO_2 "Carbon"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_GRILLE_SCARGO_3 "Carbon Split"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_GRILLE_SCARGO_4 "Triple"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_GRILLE_SCARGO_5 "Carbon Triple"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MIRROR_SCARGO_1 "Painted"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CO_YTMPLATES "License Plate Position"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BODY_SCARGO_1 "Painted Plastic"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BODY_SCARGO_2 "Snyper"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_VINYLS_SCARGO_1 "Domino's Pizza by KenjaMago"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_VINYLS_SCARGO_2 "Slap Jack"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CO_HLCOVER "Headlight Covers"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CO_YTMSEATS "Seats"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CO_YTMMUFFLER "Muffler Tip"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO CO_YTMGRILLE "Front Grille"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HLCOVER_NISSANBE1_1 "Eyelids"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_HLCOVER_SCARGO_1 "Carbon Eyelids"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_SCARGO_1 "Omega"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_SCARGO_2 "Supreme"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_SCARGO_3 "Omega Double"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_MUFFLER_SCARGO_4 "Supreme Double"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRAKES_SCARGO_1 "Endless"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRAKES_SCARGO_2 "Wilwood"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRAKES_SCARGO_3 "Brembo"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_BRAKES_SCARGO_4 "Wilwood 2"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_1 "Sparco Roadster"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_2 "Sparco Milano 2"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_3 "Sparco Milano 3"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_4 "Sparco Torino"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_5 "Sparco Monza"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_6 "Sparco Modena"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_7 "Sparco Siena"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_8 "UNP Brand"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_9 "UNP Extreme"
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO PN_SEATS_NISSANBE1_10 "UNP Classic"

add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_SPOILER_2 "Unlock this spoiler by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_SCARGO_HEADLIGHTS_1 "Unlock these headlights by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_BODYKIT_2 "Unlock this body kit by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_SEATS_1 "Unlock these seats by beating^Sonny, Blacklist member 15."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_SEATS_2 "Unlock these seats by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_SCARGO_TAILLIGHTS_1 "Unlock these taillights by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_SCARGO_MIRRORS_1 "Unlock these side mirrors by beating^Sonny, Blacklist member 15."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_BRAKES_1 "Unlock these brakes by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_SCARGO_BRAKES_1 "Unlock these brakes by beating^Ming, Blacklist member 6."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_NISSANBE1_HLCOVER_1 "Unlock these eyelids by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_SCARGO_GRILL_1 "Unlock this front grille by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_SCARGO_GRILL_2 "Unlock this front grille by beating^Ming, Blacklist member 6."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_SCARGO_MUFFLER_1 "Unlock this muffler tip by beating^Big Lou, Blacklist member 11."
add_or_update_string LANGUAGES\ENGLISH.BIN STRBlocks GLOBAL AUTO UNLOCKMSG_SCARGO_MUFFLER_2 "Unlock this muffler tip by beating^Ming, Blacklist member 6."

// Those files are actually unloaded to save RAM, so don't worry ^^
delete FRONTEND\FRONTB.LZC
delete LANGUAGES\ENGLISH.BIN

if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos SCARGO
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos SCARGO
else
end

if collection_exists GLOBAL\GLOBALB.LZC Collisions SCARGO
do
remove_collection GLOBAL\GLOBALB.LZC Collisions SCARGO
else
end

if collection_exists GLOBAL\GLOBALB.LZC SlotOverrides SCARGO_PART_SPOILER
do
remove_collection GLOBAL\GLOBALB.LZC SlotOverrides SCARGO_PART_SPOILER
else
end

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos GTI SCARGO
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SCARGO DefaultBasePaint SCARGO_PAINT_WHITE
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SCARGO ManufacturerName NISSAN
copy_collection GLOBAL\GLOBALB.LZC Collisions GTI SCARGO
import override GLOBAL\GLOBALB.LZC DBModelParts SnailParts\SCARGO.bin
copy_collection GLOBAL\GLOBALB.LZC SlotOverrides GTI_PART_SPOILER SCARGO_PART_SPOILER

if directory_exists absolute CARS\SCARGO
do
else
create_folder absolute CARS\SCARGO
end

move_file override relative absolute Main\GEOMETRY.BIN CARS\SCARGO\GEOMETRY.BIN
move_file override relative absolute Main\TEXTURES.BIN CARS\SCARGO\TEXTURES.BIN

combobox "Standard Resolution (512x)" "High Resolution (1024x)" "Choose vinyls resolution."

"Standard Resolution (512x)"
move_file override relative absolute Vinyls\512.BIN CARS\SCARGO\VINYLS.BIN

"High Resolution (1024x)"
move_file override relative absolute Vinyls\1024.BIN CARS\SCARGO\VINYLS.BIN

end

combobox "White" "Beige" "Olive" "Gray" "Choose your stock color."

"White"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SCARGO DefaultBasePaint SCARGO_PAINT_WHITE
move_file override relative absolute SnailParts\SCARGO.ini scripts\UnlimiterData\SCARGO.ini

"Beige"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SCARGO DefaultBasePaint SCARGO_PAINT_BEIGE
append "SnailParts\scargo_beige.end"

"Olive"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SCARGO DefaultBasePaint SCARGO_PAINT_OLIVE
append "SnailParts\scargo_olive.end"

"Gray"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos SCARGO DefaultBasePaint SCARGO_PAINT_GRAY
append "SnailParts\scargo_gray.end"

end
